﻿using NetWing.Common;
using NetWing.Common.Data.SqlServer;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace NetWing.BPM.Admin.JydModleOrder
{
    public partial class gcguanlizhe : System.Web.UI.Page
    {
        public int data;
        public DataTable DataTablea;
        protected void Page_Load(object sender, EventArgs e)
        {
            string openidde = CookieHelper.GetCookie("openid");
            data = Convert.ToInt32(SqlEasy.ExecuteScalar("select * from sys_users where openid='"+openidde+ "' and DepartmentId=186"));
            if(data >= 1) { 
            DataTablea = SqlEasy.ExecuteDataTable("select * from jydflowRecord where Remarks like '%原因%' order by keyid desc");
                }
        }
    }
}